#
# Be sure to run `pod lib lint SimPods.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
    s.name             = "SimPods"
    s.version          = "1.1.0"
    s.summary          = "Common views, utility tool, categories, for project quick developement"
    s.description      = <<-DESC
    Common views, utility tool, categories, for project quick developement.
    CommonWebView, PopViewKit, AlertView, CommonData, CommonDefine etc.
    DESC
    s.homepage         = "https://github.com/simalone/"
    s.license          = 'MIT'
    s.author           = { "Xubin Liu" => "liuxb@knowbox.cn" }
    s.source           = { :git => "git@https://git.oschina.net/KnowboxIosApp/RapidCalculationSimPods.git", :tag => '1.2.0' }
    s.platform         = :ios, '8.0'
    s.requires_arc     = true
    s.source_files     = 'Pod/Classes/SimDefine.h'
    s.resources = 'Pod/Assets/Common/*.png'
    s.subspec 'SimCategory' do |ss|
        ss.source_files = 'Pod/Classes/SimCategory/*.{h,m}'
    end
    
    s.subspec 'SimCommon' do |ss|
        ss.source_files = 'Pod/Classes/SimCommon/*.{h,m}'
    end
    
    s.subspec 'SimView' do |ss|
        ss.source_files = 'Pod/Classes/SimView/**/*.{h,m}'
        ss.dependency 'SDWebImage', '~> 3.8.2'
    end

    s.subspec 'SimSystemView' do |ss|
    ss.source_files = 'Pod/Classes/SimView/System/**/*.{h,m}'
    end

    s.subspec 'SimCustomView' do |ss|
    ss.source_files = 'Pod/Classes/SimView/Custom/**/*.{h,m}'
    end

    s.subspec 'SimVC' do |ss|
        ss.source_files = 'Pod/Classes/SimVC/**/*.{h,m}'
    end
    
    s.subspec 'SimImageCache' do |ss|
        ss.source_files = 'Pod/Classes/SimKit/SimImageCache/*.{h,m}'
    end
    
    s.subspec 'SimPopKit' do |ss|
        ss.source_files = 'Pod/Classes/SimKit/SimPopKit/*.{h,m}'
    end
    
end
